package com.example.video_player;

import android.util.Log;

import java.util.ArrayList;
import java.util.List;

public class LiviBridgeServiceImpl implements LiviBridgeService.LiviBridgeServiceApi {

    @Override
    public Boolean CheckInstallApps(String appName) {
        Log.e("test", "CheckInstallApps: ");
        return true;
    }

    @Override
    public Boolean getScanCode() {
        Log.e("test", "getScanCode: ");
        return true;
    }

    @Override
    public void goContactResForAllInfo() {
        Log.e("test", "goContactResForAllInfo: ");
    }

    @Override
    public String goContactRes() {
        Log.e("test", "goContactRes: ");
        return "aaa-123456";
    }

    @Override
    public List<String> getPhonesByNumber(String phoneNumber) {
        Log.e("test", "getPhonesByNumber: ");
        List<String> list = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            list.add("i " + i);
        }
        return list;
    }

    @Override
    public Boolean onClick4Js() {
        Log.e("test", "onClick4Js: ");
        return true;
    }

    @Override
    public String getVBPayResImage() {
        Log.e("test", "getVBPayResImage: ");
        return "/mnt/sdcard/a.png";
    }

    @Override
    public Boolean shareBySDK() {
        Log.e("test", "shareBySDK: ");
        return true;
    }

    @Override
    public Boolean hideKeyBoard() {
        Log.e("test", "hideKeyBoard: ");
        return true;
    }

}
